package com.lb.bs.demo.testBean;

import com.lb.bs.client.annotation.LBClass;
import com.lb.bs.client.annotation.LBItem;
import com.lb.bs.client.annotation.LBUpdateClass;
import org.springframework.stereotype.Component;

/**
 * program: LB-BS-Client
 * author: bsworld.xie
 * create: 2019-11-27 10:29
 * description:
 */
@LBClass(groupName = "/lb")
@Component
public class Student {
    private Integer id;

    private String name;

    private String logPath;

    private boolean young;

    private Float height;

    @LBItem(key = "/student/id")
    public Integer getId() {
        return id;
    }

    @LBItem(key = "/student/height")
    public Float getHeight() {
        return height;
    }

    @LBItem(key = "/student/young", value = "false")
    public boolean getYoung() {
        return young;
    }

    @LBItem(key = "/student/name", value = "")
    public String getName() {
        return name;
    }

    @LBItem(key = "/student/logPath", isLogPath = true)
    public String getLogPath() {
        return logPath;
    }



}